package cn.labbook.bluetooth.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WarnAmmeterView implements Serializable {
    private static final long serialVersionUID = 1L;

    private String adminId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String location;

    private String status;

    private Double rechargeAmount;

    private Double amount;

    private Double balance;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date readingTime;

    private Integer serverStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date serverTime;

    private Integer tryStatus;

    private Integer oweStatus;

    private Integer switchStatus;

    private String userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date activateTime;

    private Integer payType;

    private Double payPrice;

    private String managerId;

    /**
     * 厂家Id
     */
    private String manufacturersId;

    private Double electricity;

    private Integer valve;

    private String id;

    private String warnType;

    private String warnValue;

    private String memo;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date platformReadTime;

    private String ammeterId;

}